﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Server.Model;
using System.Runtime.Serialization;

namespace Server.Service.Model
{
    [DataContract]
    public class WCFZipCodeCity
    {
        [DataMember]
        public int ZipCode { get; set; }
        [DataMember]
        public string City { get; set; }

        public WCFZipCodeCity()
        {

        }

        public WCFZipCodeCity(ZipCodeCity zipCodeCity)
        {
            this.ZipCode = zipCodeCity.ZipCode;
            this.City = zipCodeCity.City;
        }
    }
}
